#include<stdio.h>

int main()
{
    int i, n, a[100], flag=1;
    printf("Please input the number of element you want to input:");
    scanf("%d", &n);
    for(i=0; i<=n-1;i++)
    {
         printf("\nEnter a[%d]=", i);
         scanf("%d", &a[i]);   
    }   
    
    for(i=0;i<=n-1;i++)
    {
      if(a[i+1]<a[i]) 
         flag=0;
                
    }
    if(flag)
    printf("This array is increasly sorted");
    else printf("This arry is not increasly sorted");
    getch();
}
